package com.museum.entity.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
* <p>
    * 
    * </p>
*
* @author yznl
* @since 2021-03-10
*/
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class ColRegister implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID(线索号)")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            /**
            * 藏品登记号
            */
    private String colId;

            /**
            * 藏品名称
            */
    private String colName;

            /**
            * 藏品级别
            */
    private Integer gradeId;

            /**
            * 藏品类型
            */
    private String type;

            /**
            * 藏品数量
            */
    private Integer number;

            /**
            * 藏品质量
            */
    private String quality;

            /**
            * 保存状态
            */
    private String status;

            /**
            * 藏品来源
            */
    private String come;

            /**
            * 年代id
            */
    private Integer yearId;

            /**
            * 藏品描述
            */
    private String colDesc;

            /**
            * 入藏时间
            */
    private String intime;
    @TableField(exist = false)
    private String yearName;
    @TableField(exist = false)
    private String sortName;
    @TableField(exist = false)
    private String gradeName;
    @TableField(exist = false)
    private Integer endStatus;

}
